-
Home
-
Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings
-
7.6.1
-
Code
-
Classes
- Listings_Controller
Total Complexity |
137 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
1,476 |
Lines of code |
1,221 |
Logical lines of code |
385 |
Comment lines |
156 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_listing_data() |
D |
24 |
51 |
149 |
prepare_objects_query() |
D |
20 |
40 |
247 |
get_item_schema() |
C |
20 |
1 |
428 |
get_images() |
A |
45 |
9 |
41 |
get_collection_params() |
A |
34 |
1 |
126 |
get_related_listings_ids() |
S |
43 |
5 |
49 |
get_items() |
S |
48 |
6 |
32 |
get_listing_social_links() |
S |
57 |
6 |
17 |
get_item() |
S |
58 |
5 |
13 |
register_routes() |
S |
46 |
1 |
46 |
get_taxonomy_terms() |
S |
58 |
3 |
15 |
prepare_links() |
S |
58 |
2 |
16 |
get_listings() |
S |
57 |
2 |
16 |
prepare_item_for_response() |
S |
62 |
2 |
10 |
add_post_meta_fields() |
S |
82 |
1 |
3 |
get_orderby_possibles() |
S |
65 |
1 |
10 |
delete_post() |
S |
80 |
1 |
3 |